import Layout from "@/layout";
const homesRouter = {
  path: "/home",
  component: Layout,
  redirect: "noRedirect",
  name: "capitalManage",
  alwaysShow: true,
  meta: {
    title: "首页",
    icon: "tree"
  },
  children: [
    {
      path: "home",
      component: () => import("@/views/home/index"),
      name: "home",
      meta: {title: "首页"}
    },
    {
      path: "dashboard",
      component: () => import("@/views/home/dashboard"),
      name: "dashboard",
      meta: { title: "首页" },
      hidden: true
    }
  ]
};

export default homesRouter;
